Think\Error类的appShutdown方法改进