Merge branch 'mojo-err-checking' into 'make_it_mojo'

Authored by mpyne on Sep 8 2019, 9:14 PM.

Description

Merge branch 'mojo-err-checking' into 'make_it_mojo'

This is a series of small commits to improve error handling in our Mojolicious-based backend.

The biggest changes are to import the Mojolicious debug template (which handles both 404 and 500 HTTP errors), although we also create a dedicated log file for Mojolicious to use internally in the same log directory as used for other kdesrc-build logs that run.

A direction for future work is to integrate kdesrc-build's own logging system into Mojolicious's (so that there's only one way to do it).

See merge request kde/kdesrc-build!16 (I've gone ahead and self-approved after looking at it a second time since I won't have a lot of time during the upcoming work week)

Merged Changes

CommitAuthorDetailsCommitted
2c56ab7dc956mpyne
Merge remote-tracking branch 'origin/make_it_mojo' into mojo-err-checking 
Sep 8 2019
9daa521caac0mpyne
mojo: Make clear that sample client dropdown doesn't work. 
Sep 8 2019
745d40d9fa44mpyne
mojo: Improve logging for backend mode. 
Sep 8 2019
976732d5d572mpyne
mojo: Disable metadata updates for headless mode. 
Sep 8 2019
17a37de0b604mpyne
mojo: Fix implementation of GET /modules. 
Sep 8 2019
5971931483dempyne
mojo: Import Mojolicious's error handler debugging page. 
Sep 8 2019