Menu

#193 The environment variable PWLIB_ASSERT_ACTION

Enhancement
closed-accepted
PWLib (79)
5
2007-02-12
2006-12-08
No

The patch pwlib-assert-action.diff replaces the environment variable

PWLIB_ASSERT_EXCEPTION (see request 1602184)

by more flexible one

PWLIB_ASSERT_ACTION={A[bort]|C[ore dump]|I[gnore]|[Throw exception]|D[ebug]}

By setting the environment variable PWLIB_ASSERT_ACTION to an action name, no user interaction is required and the action will be done on the exception.

Discussion

  • Vyacheslav Frolov

    pwlib-assert-action.diff

     
  • Craig Southeren

    Craig Southeren - 2007-02-12
    • assigned_to: nobody --> csoutheren
    • status: open --> closed-accepted
     
  • Craig Southeren

    Craig Southeren - 2007-02-12

    Logged In: YES
    user_id=774109
    Originator: NO

    Applied, but kept both environment variables to preserve backwards compatibility

     

Log in to post a comment.

MongoDB Logo MongoDB