Log errors not to logs/debug.txt, but to stderr