[BUGFIX] Fixed system errors log
[IMPROVED] Error handler