Restarting schedulers if it crashes.

Discussion in 'Plugin Development' started by Tauryuu, May 12, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Tauryuu

    I am using some SyncRepeatingTasks to count cooldowns and warmups, and in some rare occasions, they crash, and causing everything that has to do with the schedulers to not work.

    Is there a way to automatically reload the schedulers when they crash?
     
  2. It would be better if you find the cause of the crash and then solve it rather than just leaving it there and maybe needing to deal with it later anyway.
     
  3. Offline

    Tauryuu

    The logs didn't mention anything about how it crashed. It just stopped working and printed a message stating so.
     
  4. I don't see your problem if it already starts again....
     
  5. Offline

    Tauryuu

    What? It said it crashed and said it crashed. It never started again on it's own.
     
  6. Well, do you output the 'crash' message inside a try-catch block? If so, why not giving out the stack trace and search for the problem then?
     
Thread Status:
Not open for further replies.

Share This Page