Skip to content

Commit

Permalink
Merge pull request #980 from hprange/bugfix/mod-webobjects-no-instanc…
Browse files Browse the repository at this point in the history
…e-available

Fix incorrect message and HTTP status code when no instance is available
  • Loading branch information
darkv authored Jun 3, 2022
2 parents 210e0a1 + 7c6ee30 commit ca186e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/Adaptors/Adaptor/transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ HTTPResponse *tr_handleRequest(HTTPRequest *req, const char *url, WOURLComponent
} else {
if (ac_authorizeAppListing(wc))
resp = WOAdaptorInfo(req, wc);
else
else if (app.error != err_noInstance)
app.error = err_notFound;
}

Expand Down

0 comments on commit ca186e7

Please sign in to comment.