Skip to content

Commit

Permalink
add context to emit
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Dec 28, 2023
1 parent 6a0ce21 commit 36d1aff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openpype/tools/publisher/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -2500,7 +2500,11 @@ def _process_and_continue(self, plugin, instance):
result = pyblish.plugin.process(
plugin, self._publish_context, instance
)
pyblish.api.emit("pluginProcessed", result=result)
pyblish.api.emit(
"pluginProcessed",
context=self._publish_context,
result=result,
)

exception = result.get("error")
if exception:
Expand Down

0 comments on commit 36d1aff

Please sign in to comment.