[WWServer-3] Exception handler and logic added. Logging fixed.