mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	ignore database not ready
This commit is contained in:
		| @@ -90,7 +90,7 @@ class ReportConfig(AppConfig): | ||||
|  | ||||
|         try: | ||||
|             from .models import TestReport | ||||
|         except: | ||||
|         except:  # pragma: no cover | ||||
|             # Database is not ready yet | ||||
|             return | ||||
|  | ||||
| @@ -113,7 +113,7 @@ class ReportConfig(AppConfig): | ||||
|  | ||||
|         try: | ||||
|             from .models import BuildReport | ||||
|         except: | ||||
|         except:  # pragma: no cover | ||||
|             # Database is not ready yet | ||||
|             return | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user