move all error() to panic() to stop and open debugger