mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
do not catch throwable
This commit is contained in:
@@ -96,7 +96,7 @@ public class BasicContextProvider implements SCMContextProvider
|
|||||||
version = loadVersion();
|
version = loadVersion();
|
||||||
stage = loadProjectStage();
|
stage = loadProjectStage();
|
||||||
}
|
}
|
||||||
catch (Throwable ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
this.startupError = ex;
|
this.startupError = ex;
|
||||||
|
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ public class DefaultCGIExecutor extends AbstractCGIExecutor
|
|||||||
p = Runtime.getRuntime().exec(execCmd, env.getEnvArray(), workDirectory);
|
p = Runtime.getRuntime().exec(execCmd, env.getEnvArray(), workDirectory);
|
||||||
execute(p);
|
execute(p);
|
||||||
}
|
}
|
||||||
catch (Throwable ex)
|
catch (IOException ex)
|
||||||
{
|
{
|
||||||
getExceptionHandler().handleException(request, response, ex);
|
getExceptionHandler().handleException(request, response, ex);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user