mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Showing db error on Profile table
This commit is contained in:
parent
8cc4956f73
commit
0074cf2b53
1 changed files with 2 additions and 2 deletions
|
@ -89,8 +89,8 @@ class Profile(models.Model):
|
|||
self.secret_token = generate_secret_token(self.user.username, 12)
|
||||
try:
|
||||
super(Profile, self).save(*args, **kwargs)
|
||||
except DatabaseError:
|
||||
print(" ---> Profile not saved. Table isn't there yet.")
|
||||
except DatabaseError as e:
|
||||
print(f" ---> Profile not saved: {e}")
|
||||
|
||||
def delete_user(self, confirm=False, fast=False):
|
||||
if not confirm:
|
||||
|
|
Loading…
Add table
Reference in a new issue