mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-27 02:21:30 +01:00
Ignored Future<AnalysisData> exceptions
This commit is contained in:
parent
dfc1b87a25
commit
31eb9851c5
@ -22,6 +22,7 @@ import com.djrapitops.plugin.utilities.Verify;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
/**
|
||||
* InfoRequest to generate Analysis page HTML at the receiving end.
|
||||
@ -90,6 +91,9 @@ public class GenerateAnalysisPageRequest extends InfoRequestWithVariables implem
|
||||
Log.toLog(this.getClass(), e);
|
||||
}
|
||||
throw new InternalErrorException("Analysis failed due to exception", e);
|
||||
} catch (InterruptedException | ExecutionException e) {
|
||||
/* Plugin is shutting down, exceptions ignored */
|
||||
return "<p>Plugin is shutting down..</p>";
|
||||
} catch (Exception e) {
|
||||
Log.toLog(this.getClass(), e);
|
||||
throw new InternalErrorException("Analysis failed due to exception", e);
|
||||
|
Loading…
Reference in New Issue
Block a user