Skip to content
Snippets Groups Projects
  • Georges Racinet's avatar
    db8189107a65
    Error handling: ensure tracebacks are produced in GitLab mirror hook · db8189107a65
    Georges Racinet authored
    (adapted graft of 4728e33a7d5c)
    
    Here we consider straight Abort errors to be user errors, hence not
    warranting a server-side traceback in the logs. On the other hand, all
    other uncatched errors will be logged at error level.
    
    This makes use of `hg-loggingmod` 0.3.0 ability to log tracebacks in
    the logs.
    
    This can certainly be improved further, as it doesn't prevent
    server-side tracebacks to be displayed to SSH clients, for instance.
    db8189107a65
    History
    Error handling: ensure tracebacks are produced in GitLab mirror hook
    Georges Racinet authored
    (adapted graft of 4728e33a7d5c)
    
    Here we consider straight Abort errors to be user errors, hence not
    warranting a server-side traceback in the logs. On the other hand, all
    other uncatched errors will be logged at error level.
    
    This makes use of `hg-loggingmod` 0.3.0 ability to log tracebacks in
    the logs.
    
    This can certainly be improved further, as it doesn't prevent
    server-side tracebacks to be displayed to SSH clients, for instance.
This project manages its dependencies using pip. Learn more