R
Roger Blanchard
Guest
We are using the following to catch any error while applying a schema update. Is there any way to retrieve the text of the error as well so I can write to my application log file? DO ON ERROR UNDO, THROW: CREATE ALIAS DICTDB FOR DATABASE histlog. oService = NEW DataAdminService ("histlog"). /* HISTLOG DB */ oService:LoadSchemaChanges(cHistlogDf). CATCH e AS Progress.Lang.Error: oErrorhandler = NEW DataAdminErrorHandler(). oErrorHandler:Error(e). // will display error in message box DELETE OBJECT e NO-ERROR. END CATCH. FINALLY: DELETE OBJECT oService NO-ERROR. DELETE ALIAS DICTDB. END FINALLY. END.
Continue reading...
Continue reading...