Adds error reporting to splunk ui as well as the log file

Signed-off-by: David Noble <dnoble@splunk.com>