Skip to content

Commit f370841

Browse files
committed
put back the try/catch
1 parent 2f815f7 commit f370841

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Migration script/openIMIS migration latest.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4814,7 +4814,7 @@ AS
48144814
BEGIN
48154815
DECLARE @oReturnValue as int
48164816
SET @oReturnValue = 0
4817-
--BEGIN TRY
4817+
BEGIN TRY
48184818

48194819
DECLARE @MStart as int
48204820
DECLARE @MEnd as int
@@ -4998,15 +4998,15 @@ BEGIN
49984998
FINISH:
49994999

50005000
RETURN @oReturnValue
5001-
/*END TRY
5001+
END TRY
50025002

50035003
BEGIN CATCH
50045004
SELECT 'Unexpected error encountered'
50055005
SET @oReturnValue = 1
50065006
SET @RtnStatus = 1
50075007
RETURN @oReturnValue
50085008

5009-
END CATCH*/
5009+
END CATCH
50105010

50115011
END
50125012

0 commit comments

Comments
 (0)