thx :-)
M
2013/4/24 Niphlod
> 1) if you can't reproduce the error with a specific "line" of your code
> that triggers it, then is quite unuseful to try:catch every single db
> operation.
> BTW, this is what you'd need to do
> try:
> db(somequery).select()
> except:
> #handle the excepti
1) if you can't reproduce the error with a specific "line" of your code
that triggers it, then is quite unuseful to try:catch every single db
operation.
BTW, this is what you'd need to do
try:
db(somequery).select()
except:
#handle the exception
pass
try:
db(somequery).update(some
2 matches
Mail list logo