v0.6.3: improved error handling in SPD-classes

This commit is contained in:
Evan Debenham
2018-01-21 19:05:00 -05:00
parent ffc1a52ca3
commit 2dddeee60d
7 changed files with 48 additions and 59 deletions

View File

@@ -118,14 +118,6 @@ public class ShatteredPixelDungeon extends Game {
com.shatteredpixel.shatteredpixeldungeon.actors.buffs.BlobImmunity.class,
"com.shatteredpixel.shatteredpixeldungeon.actors.buffs.GasesImmunity" );
com.watabou.utils.Bundle.exceptionReporter =
new com.watabou.utils.Bundle.BundleExceptionCallback() {
@Override
public void call(Throwable t) {
ShatteredPixelDungeon.reportException(t);
}
};
}
@SuppressWarnings("deprecation")
@@ -323,8 +315,5 @@ public class ShatteredPixelDungeon extends Game {
}
}
public static void reportException( Throwable tr ) {
Log.e("PD", Log.getStackTraceString(tr));
}
}