Moved for better visibility
This commit is contained in:
parent
613fc12aae
commit
69c043d36a
@ -30,6 +30,7 @@ CREATE OR REPLACE PACKAGE app AS
|
||||
*/
|
||||
|
||||
schema_owner CONSTANT VARCHAR2(30) := 'CORE';
|
||||
schema_apex CONSTANT VARCHAR2(30) := 'APEX_210100';
|
||||
|
||||
-- code for app exception
|
||||
app_exception_code CONSTANT PLS_INTEGER := -20000;
|
||||
|
||||
@ -2059,13 +2059,13 @@ CREATE OR REPLACE PACKAGE BODY app AS
|
||||
END IF;
|
||||
|
||||
-- add call stack
|
||||
IF SQLCODE != 0 OR INSTR(app.track_callstack, rec.flag) > 0 OR app.track_callstack = '%' THEN
|
||||
rec.payload := SUBSTR(rec.payload || REPLACE(REPLACE(app.get_call_stack(), 'WWV_FLOW', '%'), 'APEX_210100', '%'), 1, app.length_payload);
|
||||
IF (SQLCODE != 0 OR INSTR(app.track_callstack, rec.flag) > 0) THEN
|
||||
rec.payload := SUBSTR(rec.payload || REPLACE(REPLACE(app.get_call_stack(), 'WWV_FLOW', '%'), app.schema_apex, '%'), 1, app.length_payload);
|
||||
END IF;
|
||||
|
||||
-- add error stack
|
||||
IF SQLCODE != 0 THEN
|
||||
rec.payload := SUBSTR(rec.payload || REPLACE(REPLACE(app.get_error_stack(), 'WWV_FLOW', '%'), 'APEX_210100', '%'), 1, app.length_payload);
|
||||
rec.payload := SUBSTR(rec.payload || REPLACE(REPLACE(app.get_error_stack(), 'WWV_FLOW', '%'), app.schema_apex, '%'), 1, app.length_payload);
|
||||
END IF;
|
||||
|
||||
-- print message to console
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user