Skip to content
Commit 1c5b46f5 authored by Chris Kay's avatar Chris Kay Committed by Ryan Roberts
Browse files

project: suppress exceptions by default in package context



When calling Shrinkwrap from a script context, exceptions triggered by
the program are suppressed by default. This does not occur when calling
the `main()` function directly.

The changes that follow this one introduce a project script which calls
the `main()` function, meaning it does not share this behaviour.

This change moves this exception suppression behaviour out of the global
scope and into the function so that the observed behaviour in both a
script context and a package context is identical.

Signed-off-by: Chris Kay's avatarChris Kay <chris.kay@arm.com>
parent 1f7379c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment