Closed objecthub-io closed 7 years ago
When a Micro App performs an operation, which results in an uncaught unauthorized Exception, the exception is not displayed on the UI.
For instance, when editing a Micro Service JS source for which there are insufficient authorizations.
Example stack trace:
Uncaught java.lang.RuntimeException: Uncaught background exception: Cannot perform operation because of insufficient authorization. Resolution: Catch this exception explicitly using *Safe operations. Message: [No secret matching the supplied secret. Secret: [Token.UNSPECIFIED_TOKEN] Node [Nx.reference(https://objecthub.io/hub/repo/~objects/~micro-service-obj/versions/~*0/baseJs)] Possible identifications of accepted authorizations are [[<unidentified>, master-secret]]]. for operation: [Append or insert.] originating from: [null]. java.lang.Exception: Cannot perform operation because of insufficient authorization. Resolution: Catch this exception explicitly using *Safe operations. Message: [No secret matching the supplied secret. Secret: [Token.UNSPECIFIED_TOKEN] Node [Nx.reference(https://objecthub.io/hub/repo/~objects/~micro-service-obj/versions/~*0/baseJs)] Possible identifications of accepted authorizations are [[<unidentified>, master-secret]]].<br /> Unknown.IM(0.js@113)<br/> Unknown.u(0.js@365)<br/> Unknown._.Ph(0.js@56)<br/> Unknown._.F(0.js@23)<br/> Unknown._.F(0.js@121)<br/> Unknown._.Sh(0.js@103)<br/> Unknown.chc(0.js@312)<br/> Unknown.ehc(0.js@447)<br/> Unknown.chc(0.js@317)<br/> Unknown.ehc(0.js@447)<br/> Unknown.FT(0.js@493)<br/> Unknown.Nrc(0.js@377)<br/> Unknown._.P(0.js@322)<br/> Unknown.uwc(0.js@129)<br/> Unknown._.P(0.js@118)<br/> Unknown.p5(0.js@187)<br/> Unknown._.Ec(0.js@32)<br/> Unknown._.kh(0.js@14)<br/> Unknown.eval(0.js@323)<br/> Unknown.eval(0.js@243)<br/> -end of stack trace Origin Trace: Origin is null.
Does not seem to appear anymore.
When a Micro App performs an operation, which results in an uncaught unauthorized Exception, the exception is not displayed on the UI.
For instance, when editing a Micro Service JS source for which there are insufficient authorizations.
Example stack trace: