dask / dask/distributed

Notify where exception originated

Open
#3,828 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

I probably spent an afternoon looking for a bug in the wrong place. When this function is executed an info is needed where the error originated. It is particular frustrating, because the tracebook actually reads the code from the local machine. It might be obvious for most, but it wasn't for me.

https://github.com/dask/distributed/blob/0041cc1f23fff4dd64c644c243ba8404122786c8/distributed/core.py#L602-L608

An easy fix would be to write something like this before line 605:

```python
print("Error originated from", comm.peer_address)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.