Hello Norman,

JupyterHub seem to take a `c.JupyterHub.template_paths` config options to
configure where templates are searched. If your configuration is a .py file
you should be apple to use `.append()` /`.prepend()` to add search path.
Then you can provide your own templates for 500 errors (which I believe is
error.html).

Does that help?

Thanks,
-- 
Matthias


On 7 February 2018 at 06:58, Norman Gray <[email protected]> wrote:

>
> Greetings.
>
> Is there a way of customising the JupyterHub 50x response(s), or otherwise
> handling such problems differently?
>
> Specifically, sometimes a user is unable to log in because their home
> directory is missing, or they're out of quota.  That results in an error
> which is fixable, in the sense there's a next step they can take (clear
> some files; talk to the sysadmin), but the actual appearance is an
> end-of-the-world 'server's crashed' error.
>
> I've looked through the notes at http://jupyterhub.readthedocs.io/ but
> can't see anything which indicates how I might step in at this point.  Can
> someone give me a pointer?
>
> I'm running JupyterHub 0.8.0.
>
> Best wishes,
>
> Norman
>
>
> --
> Norman Gray  :  https://nxg.me.uk
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/ms
> gid/jupyter/9C854046-E0FC-41B8-A78B-F42B71E86FFE%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CANJQusXiN5aR1Us0knhbpuJZmzGMDFYGuffCn%3Dp7JL0Hs6tcmA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to