syncthing/syncthing — pull request #605 by AudriusButkevicius (2014-08-31 20:57:36+00:00)
Title: Capture panic messages (closes #586)

So this is a possible solution.