Skip to content

Commit

Permalink
Show full simulation error trace (#2294)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafermarq authored Sep 6, 2023
1 parent ba52e2e commit 27e7e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/py/flwr/simulation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import sys
import threading
import traceback
from logging import ERROR, INFO
from typing import Any, Callable, Dict, List, Optional, Type, Union

Expand Down Expand Up @@ -292,6 +293,7 @@ def update_resources(f_stop: threading.Event) -> None:
)
except Exception as ex:
log(ERROR, ex)
log(ERROR, traceback.format_exc())
log(
ERROR,
"Your simulation crashed :(. This could be because of several reasons."
Expand Down

0 comments on commit 27e7e25

Please sign in to comment.