Skip to content

Commit

Permalink
Try to not raise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Feb 15, 2024
1 parent 148cedf commit 7588630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Dependency/Nocilla/Nocilla/LSNocilla.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ - (LSStubResponse *)responseForRequest:(id<LSHTTPRequest>)actualRequest {
return someStubbedRequest.response;
}
}
[NSException raise:@"NocillaUnexpectedRequest" format:@"An unexpected HTTP request was fired.\n\nUse this snippet to stub the request:\n%@\n", [[[LSHTTPRequestDSLRepresentation alloc] initWithRequest:actualRequest] description]];
// [NSException raise:@"NocillaUnexpectedRequest" format:@"An unexpected HTTP request was fired.\n\nUse this snippet to stub the request:\n%@\n", [[[LSHTTPRequestDSLRepresentation alloc] initWithRequest:actualRequest] description]];

return nil;
}
Expand Down

0 comments on commit 7588630

Please sign in to comment.