b056600770258e83f814a1048501d01d90b81609,wandb/sdk_py27/wandb_init.py,_WandbInit,init,#_WandbInit#,312

Before Change


            ret = backend.interface.communicate_run(run, timeout=30)
            // TODO: fail on more errors, check return type
            // TODO: make the backend log stacktraces on catostrophic failure
            if ret.HasField("error"):
                // Shutdown the backend and get rid of the logger
                // we don"t need to do console cleanup at this point
                backend.cleanup()

After Change


                wandb.termlog(ret.message)
            ret = backend.interface.communicate_run(run, timeout=30)
            error_message = None
            if not ret:
                error_message = "Error communicating with backend"
            if ret and ret.error:
                error_message = ret.error.message
            if error_message:
                // Shutdown the backend and get rid of the logger
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: wandb/client
Commit Name: b056600770258e83f814a1048501d01d90b81609
Time: 2020-09-16
Author: jeff@wandb.com
File Name: wandb/sdk_py27/wandb_init.py
Class Name: _WandbInit
Method Name: init


Project Name: tensorflow/tensorboard
Commit Name: 0f4c2b3e4d8133d6339c3450f122634b8d7032c8
Time: 2021-03-10
Author: wchargin@gmail.com
File Name: tensorboard/backend/event_processing/plugin_event_accumulator.py
Class Name: EventAccumulator
Method Name: _CheckForRestartAndMaybePurge


Project Name: wandb/client
Commit Name: b056600770258e83f814a1048501d01d90b81609
Time: 2020-09-16
Author: jeff@wandb.com
File Name: wandb/sdk/wandb_init.py
Class Name: _WandbInit
Method Name: init