Commit Graph

4 Commits

Author SHA1 Message Date
Miroslav Bajtoš 7b61bcd541
[SEMVER-MAJOR] Reword log messages for clarity
Before this commit, we logged messages saying "unhandled error". This
was often creating confusion for our users, it seems like the error
was not handled at all, when in fact it was caught by the configured
error handler and converted into a proper HTTP error response.

In this commit, I am changing the messaging to use "request failed"
instead.

While this change is not affecting application developers, it may
break tooling processing logs if the tool relies on a specific format
of error messages. To be safe, I am labelling this change as breaking.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2020-10-12 09:56:56 +02:00
Miroslav Bajtoš 67fc40b78b
chore: update eslint & config to latest
Replace `var` with `const` and `let`.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
2019-10-12 09:44:54 +02:00
David Cheung 6c056a09a3 Globalize strong-error-handler 2016-08-17 19:16:14 -04:00
Miroslav Bajtoš 225d35994b Initial implementation
The response is always JSON
Options supported: log, debug
2016-05-13 13:10:53 +02:00