alecgorge/jsonapi — Issue #101: Naive substring call expects every [SEVERE] notification to be at least 200 characters?
Author: Psithief
Created: 2011-12-09 12:59:39+00:00
State: open

```
@Override
public void publish(LogRecord arg0) {
if(arg0.getLevel().equals(Level.SEVERE)) {
p.pushNotification("SEVERE message logged in the console: "+arg0.getMessage().substring(0, 200));
}
}
```

throws __java.lang.StringIndexOutOfBoundsException: String index out of range: 200__