basic error reporting works