Report `enable_stack_on_sig` on `stackscope` import failure

enable_tpts
Tyler Goodlet 2025-06-15 22:05:17 -04:00
parent dd69948744
commit d000642462
1 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,8 @@ def enable_stack_on_sig(
import stackscope import stackscope
except ImportError: except ImportError:
log.error( log.error(
'`stackscope` not installed for use in debug mode!' '`stackscope` not installed for use in debug mode!\n'
'`Ignoring {enable_stack_on_sig!r} call!\n'
) )
return None return None