run integration tests
Details
Diff Detail
- Repository
- rMARATHON marathon
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Cool!
src/main/scala/mesosphere/marathon/util/Lock.scala | ||
---|---|---|
44 | I'd be actually radical and crash Marathon in these cases. I'm fine with logging it for now. We don't have proper guidelines for logging and error handling yet anyways. |
src/main/scala/mesosphere/marathon/util/Lock.scala | ||
---|---|---|
44 | That's really not a bad idea, @jeschkies . :) |
I commented on this pattern elsewhere: why log with error, including the exception, and then also throw the same exact exception? almost certainly will result in redundant stack traces in the logs. Suggest using a lower log level (like warn or info). I don't think we have a best practice around this though