Differences From Artifact [658953f833]:
- File db.scm — part of check-in [3757f74464] at 2014-11-16 20:02:13 on branch v1.60 — Better error reporting (use stderr), faster registration of tests, bug fix in tasks path to db handling (user: matt, size: 113986) [annotate] [blame] [check-ins using]
To Artifact [f79d03493a]:
- File db.scm — part of check-in [4e923ad188] at 2014-11-17 00:11:02 on branch v1.60 — Add full exit when server hits issue (user: mrwellan, size: 114000) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
434 435 436 437 438 439 440 | (debug:print 0 " message: " ((condition-property-accessor 'exn 'message) exn)) (print "exn=" (condition->list exn)) (debug:print 0 " status: " ((condition-property-accessor 'sqlite3 'status) exn)) (debug:print 0 " src db: " (db:dbdat-get-path fromdb)) (for-each (lambda (dbdat) (debug:print 0 " dbpath: " (db:dbdat-get-path dbdat))) (cons todb slave-dbs)) | | > | 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | (debug:print 0 " message: " ((condition-property-accessor 'exn 'message) exn)) (print "exn=" (condition->list exn)) (debug:print 0 " status: " ((condition-property-accessor 'sqlite3 'status) exn)) (debug:print 0 " src db: " (db:dbdat-get-path fromdb)) (for-each (lambda (dbdat) (debug:print 0 " dbpath: " (db:dbdat-get-path dbdat))) (cons todb slave-dbs)) (print-call-chain (current-error-port)) (exit 1)) (cond ((not fromdb) (debug:print 3 "WARNING: db:sync-tables called with fromdb missing") -1) ((not todb) (debug:print 3 "WARNING: db:sync-tables called with todb missing") -2) ((not (sqlite3:database? (db:dbdat-get-db fromdb))) (debug:print 0 "ERROR: db:sync-tables called with fromdb not a database " fromdb) -3) ((not (sqlite3:database? (db:dbdat-get-db todb))) (debug:print 0 "ERROR: db:sync-tables called with todb not a database " todb) -4) |
︙ | ︙ |