Making 'error()' log the call stack