Skip to content

Conversation

kpinc
Copy link

@kpinc kpinc commented Aug 30, 2024

When a bad settings URI (usually a path to a non-existant file) is
supplied to one of pyramid's command line programs, and in general
when there is a reason why a settings file cannot be used, produce
an error message instead of a traceback.

Applications which import pyramid.paster must handle the
plaster.exceptions.PlasterError exception themselves.

@kpinc
Copy link
Author

kpinc commented Aug 31, 2024

I have changed the github workflow to get this to pass CI. This change is unrelated to the purpose of the patch. (macos-11 is no longer offered.)

@kpinc
Copy link
Author

kpinc commented Aug 31, 2024

To see what this fixes, try:pserve /tmp/nonexistantfile
You get a traceback without this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant