ftw7: handle logic_error separately: message is prefixed with "bug: ".