utils: should output the err.stack