diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/hghook.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/hghook.py index d21dd2871c..42771cd599 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/hghook.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/hghook.py @@ -49,4 +49,4 @@ def callback(ui, repo, hooktype, node=None, source=None, **kwargs): if conn.code == 200: print( "scm-hook executed successfully" ) else: - print( "scm-hook failed" ) + print( "scm-hook failed with error code " + str(conn.code) )