Skip to content

Commit 2343d49

Browse files
authored
add error handling (#5)
1 parent 66db8cc commit 2343d49

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/kernel_lock_concurrent.clas.abap

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,11 @@ CLASS kernel_lock_concurrent IMPLEMENTATION.
105105
DATA(lv_lock_key) = build_lock_key(
106106
input = input
107107
table_name = table_name ).
108-
ASSERT lv_lock_key IS NOT INITIAL.
108+
IF lv_lock_key IS INITIAL.
109+
WRITE / 'Lock key is initial'.
110+
WRITE '@KERNEL console.dir(INPUT);'.
111+
ASSERT lv_lock_key IS NOT INITIAL.
112+
ENDIF.
109113

110114
ls_lock_row-table_name = table_name.
111115
ls_lock_row-lock_key = lv_lock_key.

0 commit comments

Comments
 (0)