added error report for emperor error

This commit is contained in:
Unbit
2014-05-03 08:18:48 +02:00
parent 6ac6e58bf7
commit ea0a95a441
+1
View File
@@ -2299,6 +2299,7 @@ void uwsgi_master_manage_emperor() {
}
}
else {
uwsgi_error("uwsgi_master_manage_emperor()/read()");
uwsgi_log("lost connection with my emperor !!!\n");
uwsgi_hooks_run(uwsgi.hook_emperor_lost, "emperor-lost", 0);
close(uwsgi.emperor_fd);