@@ -56,7 +56,7 @@ def select_existing_project(self, project_name: str) -> InterfaceOutput:
5656 self .project = project
5757 return True , None
5858
59- except BaseException as e :
59+ except Exception as e :
6060 return False , str (e )
6161
6262 def setup_new_project (
@@ -82,7 +82,7 @@ def setup_new_project(
8282
8383 return True , None
8484
85- except BaseException as e :
85+ except Exception as e :
8686 return False , str (e )
8787
8888 def set_configs_on_existing_project (
@@ -102,7 +102,7 @@ def set_configs_on_existing_project(
102102 self .project .update_config_file (** cfg_kwargs )
103103 return True , None
104104
105- except BaseException as e :
105+ except Exception as e :
106106 return False , str (e )
107107
108108 def create_folders (
@@ -145,7 +145,7 @@ def create_folders(
145145 )
146146 return True , None
147147
148- except BaseException as e :
148+ except Exception as e :
149149 return False , str (e )
150150
151151 def validate_names (
@@ -192,7 +192,7 @@ def validate_names(
192192 "format_ses" : format_ses ,
193193 }
194194
195- except BaseException as e :
195+ except Exception as e :
196196 return False , str (e )
197197
198198 def validate_project (
@@ -237,7 +237,7 @@ def validate_project(
237237 )
238238 return True , results
239239
240- except BaseException as e :
240+ except Exception as e :
241241 return False , str (e )
242242
243243 # Transfer
@@ -268,7 +268,7 @@ def transfer_entire_project(self, upload: bool) -> InterfaceOutput:
268268
269269 return True , None
270270
271- except BaseException as e :
271+ except Exception as e :
272272 return False , str (e )
273273
274274 def transfer_top_level_only (
@@ -311,7 +311,7 @@ def transfer_top_level_only(
311311
312312 return True , None
313313
314- except BaseException as e :
314+ except Exception as e :
315315 return False , str (e )
316316
317317 def transfer_custom_selection (
@@ -362,7 +362,7 @@ def transfer_custom_selection(
362362
363363 return True , None
364364
365- except BaseException as e :
365+ except Exception as e :
366366 return False , str (e )
367367
368368 # Name templates
@@ -394,7 +394,7 @@ def set_validation_templates(
394394 self .validation_templates = validation_templates
395395 return True , None
396396
397- except BaseException as e :
397+ except Exception as e :
398398 return False , str (e )
399399
400400 def get_tui_settings (self ) -> Dict :
@@ -467,7 +467,7 @@ def get_next_sub(
467467 include_central = include_central ,
468468 )
469469 return True , next_sub
470- except BaseException as e :
470+ except Exception as e :
471471 return False , str (e )
472472
473473 def get_next_ses (
@@ -482,7 +482,7 @@ def get_next_ses(
482482 include_central = include_central ,
483483 )
484484 return True , next_ses
485- except BaseException as e :
485+ except Exception as e :
486486 return False , str (e )
487487
488488 def get_ssh_hostkey (self ) -> InterfaceOutput :
@@ -492,7 +492,7 @@ def get_ssh_hostkey(self) -> InterfaceOutput:
492492 self .project .cfg ["central_host_id" ]
493493 )
494494 return True , key
495- except BaseException as e :
495+ except Exception as e :
496496 return False , str (e )
497497
498498 def save_hostkey_locally (self , key : paramiko .RSAKey ) -> InterfaceOutput :
@@ -505,7 +505,7 @@ def save_hostkey_locally(self, key: paramiko.RSAKey) -> InterfaceOutput:
505505 )
506506 return True , None
507507
508- except BaseException as e :
508+ except Exception as e :
509509 return False , str (e )
510510
511511 def setup_key_pair_and_rclone_config (
@@ -528,7 +528,7 @@ def setup_key_pair_and_rclone_config(
528528
529529 return True , None
530530
531- except BaseException as e :
531+ except Exception as e :
532532 return False , str (e )
533533
534534 # Setup Google Drive
@@ -562,7 +562,7 @@ def setup_gdrive_connection(
562562 )
563563
564564 return True , None
565- except BaseException as e :
565+ except Exception as e :
566566 return False , str (e )
567567
568568 def get_rclone_message_for_gdrive_without_browser (
@@ -577,7 +577,7 @@ def get_rclone_message_for_gdrive_without_browser(
577577 log = False ,
578578 )
579579 return True , output
580- except BaseException as e :
580+ except Exception as e :
581581 return False , str (e )
582582
583583 def terminate_gdrive_setup (self ) -> None :
@@ -625,5 +625,5 @@ def setup_aws_connection(
625625 )
626626 aws .raise_if_bucket_absent (self .project .cfg )
627627 return True , None
628- except BaseException as e :
628+ except Exception as e :
629629 return False , str (e )
0 commit comments