zeripath 91f2afdb54
Prevent panics with missing storage (#13164)
* The `.Use` of storageHandler before setting up the template renderer
causes a panic if there is an error to log.
* The error passed to `ctx.Error` in that case may contain sensitive
information and should not be rendered to the end user. We should
instead log the error and render a simple error message.
* There is no handling of missing avatars and this needs a 404. Minio
errors need to be mapped to standard golang errors such as
os.ErrNotExist.
* There is no logging when storage is set up.

Related #13159

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-10-15 23:51:06 -04:00
..
2020-10-10 20:38:09 -04:00
2020-04-05 07:20:50 +01:00
2020-10-02 23:37:53 -04:00
2019-06-12 15:41:28 -04:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-10-02 23:37:53 -04:00
2020-10-14 07:49:33 +03:00
2020-10-10 20:38:09 -04:00
2020-10-14 07:06:00 +03:00
2020-08-27 22:47:17 -04:00
2020-04-05 07:20:50 +01:00