[TASK] Added filters for bugsnag

This commit is contained in:
JKetelaar
2016-01-03 15:02:02 +01:00
parent 275b4d633c
commit da365a82a6
4 changed files with 21 additions and 3 deletions
@@ -156,6 +156,7 @@ public class Script implements Runnable {
if(state < 0 || state > 2) {
throw new IllegalArgumentException("Illegal state");
}
Core.setBugsnagInformation("Script", "State", String.valueOf(state));
this.state = state;
}
@@ -180,5 +181,6 @@ public class Script implements Runnable {
public void setScriptID(int scriptID){
this.scriptID = scriptID;
Core.setBugsnagInformation("Script", "State", String.valueOf(scriptID));
}
}