diff options
Diffstat (limited to 'core/views/wallets_edit.py')
-rw-r--r-- | core/views/wallets_edit.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py index f26a26c..990824c 100644 --- a/core/views/wallets_edit.py +++ b/core/views/wallets_edit.py @@ -185,7 +185,8 @@ def get_complaints(complaints, waldata, svxfiles, files, wallet, wurl): # QSsvxfiles[0] # dont' know how this happened, fix later.. except: file_complaint = ( - f"{wallet} Survex file {sx} exists, but is not registered in the database {sxpath}. How?.." + f"{wallet} Survex file {sx} exists, but is not registered in the database {sxpath}. How?!.." + + f"\nOK, no need to do a database reset. To fix this, open and save the survex file. This will register it in the live database." ) complaints.append(file_complaint) message = f"! {file_complaint}" @@ -627,7 +628,7 @@ def walletedit(request, path=None): names.extend(n) team.extend(t) except: - message = f"Exception wallet handling for {fpath} '{svxfile.cave}' " + message = f"Exception wallet handling for {fpath} invalid survex file link " print(message) # This failure will also get picked up by the "S" colour code red or orange |