Commit 36c9e3b
committed
Move SSL setup to initGui() and log errors instead of silencing them
- Remove the module-level setup_qgis_ssl_for_mergin_client() call;
the auth manager is not guaranteed to be ready at import time
- In initGui(), replace bare except Exception: pass with a logged
warning so SSL setup failures are visible in the QGIS message log1 parent 99234d6 commit 36c9e3b
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 68 | | |
77 | 69 | | |
78 | 70 | | |
| |||
123 | 115 | | |
124 | 116 | | |
125 | 117 | | |
126 | | - | |
127 | | - | |
| 118 | + | |
| 119 | + | |
128 | 120 | | |
129 | 121 | | |
130 | 122 | | |
| |||
0 commit comments