Added error reporting debug line