mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-27 05:42:07 +00:00
Include message along with error description lines
This commit is contained in:
parent
a766482a00
commit
abcaf8242e
1 changed files with 4 additions and 1 deletions
|
@ -109,7 +109,10 @@ public class WLRepositoryResolver
|
|||
} catch (ForbiddenException e) {
|
||||
throw new ServiceNotAuthorizedException();
|
||||
} catch (GitUserException e) {
|
||||
throw new ServiceMayNotContinueException(String.join("\n", e.getDescriptionLines()), e);
|
||||
throw new ServiceMayNotContinueException(
|
||||
e.getMessage() + "\n" +
|
||||
String.join("\n", e.getDescriptionLines()),
|
||||
e);
|
||||
} catch (IOException e) {
|
||||
Log.warn(
|
||||
"IOException when trying to open repo: " + projName,
|
||||
|
|
Loading…
Reference in a new issue