SQL Server: Error Logging and Reporting within a Stored Procedure