Fix dolph errors always bubbling up as 500's even though they have `.status` properties
Fix dolph errors always bubbling up as 500's even though they have .status
properties
Part of https://gitlab.com/gitlab-org/gitter/webapp/-/issues/1899
The dolph package throws normal Errors and we were explicitly checking for StatusError instances previously.
Now I've made the code more generic to just check for .status
like express does.
Edited by Eric Eastwood