Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken ScalingFailed exception construction #690

Merged
merged 3 commits into from
Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions changelog.d/20220215_133045_benc_issue679_part1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. A new scriv changelog fragment.
..
.. Uncomment the header that is right (remove the leading dots).
..
.. New Functionality
.. ^^^^^^^^^^^^^^^^^
..
.. - A bullet item for the New Functionality category.
..
Bug Fixes
^^^^^^^^^

- When a provider raised an exception, that exception was then mishandled
and presented as an AttributeError. This handling now no longer corrupts
the exception. https://github.com/funcx-faas/funcX/issues/679
..
.. Removed
.. ^^^^^^^
..
.. - A bullet item for the Removed category.
..
.. Deprecated
.. ^^^^^^^^^^
..
.. - A bullet item for the Deprecated category.
..
.. Changed
.. ^^^^^^^
..
.. - A bullet item for the Changed category.
..
.. Security
.. ^^^^^^^^
..
.. - A bullet item for the Security category.
..
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ def scale_out(self, blocks=1, task_type=None):
if not internal_block:
raise (
ScalingFailed(
self.config.provider.label,
self.provider.label,
"Attempts to provision nodes via provider has failed",
)
)
Expand Down