From 70387d3cfdc2ce7f424e57a349cb955f6a8f1cca Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 27 Apr 2022 09:58:16 +0200 Subject: [PATCH] Improved GiteaAPI exception message. --- src/fr/devinsy/statoolinfos/metrics/gitea/GiteaProber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/metrics/gitea/GiteaProber.java b/src/fr/devinsy/statoolinfos/metrics/gitea/GiteaProber.java index f1bb2dc..171982a 100644 --- a/src/fr/devinsy/statoolinfos/metrics/gitea/GiteaProber.java +++ b/src/fr/devinsy/statoolinfos/metrics/gitea/GiteaProber.java @@ -143,7 +143,7 @@ public class GiteaProber } catch (IOException | ParseException exception) { - exception.printStackTrace(); + System.out.println("Error using GiteaAPI: " + exception.getMessage()); } }