Skip to content

[Bug]: Cloud: silent errors if model setup fails #1238

@dxqb

Description

@dxqb

What happened?

if this finally-clause is executed as a result of an exception, and the code here (especially .end()) raises another exception...
https://github.com/Nerogar/OneTrainer/blob/3250a32898acc8608a21ac91f7f68f8a1ef542d2/scripts/train_remote.py#L91C6-L97C22
...then the original exception isn't raised or printed.

You cannot see the root cause of the problem

What did you expect would happen?

either print it, or not execute end() in case of exception?

Relevant log output

Generate and upload debug_report.log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions