Check-in [51935c7f5c]
Overview
SHA1:51935c7f5c7b87f394a7861906c423caac227f0d
Date: 2016-03-11 21:17:36
User: rkeene
Comment:Made error reporting less verbose
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-03-11
21:41
[d9d859322c] Added release engineering scripts (user: rkeene, tags: trunk)
21:17
[51935c7f5c] Made error reporting less verbose (user: rkeene, tags: trunk)
21:16
[c8a8a96d25] Updated to do additional error checking (user: rkeene, tags: trunk)
Changes

Modified hunter2 from [60941617be] to [7cb1f824eb].

   515    515   
   516    516   db eval {
   517    517   	CREATE TABLE IF NOT EXISTS users(name, publicKey BLOB);
   518    518   	CREATE TABLE IF NOT EXISTS passwords(name, encryptedPass BLOB, encryptedKey BLOB, publicKey BLOB);
   519    519   }
   520    520   
   521    521   if {$action in $validCommands} {
   522         -	$action {*}$argv
          522  +	if {[catch {
          523  +		$action {*}$argv
          524  +	} error]} {
          525  +		puts stderr "Error: $error"
          526  +
          527  +		exit 1
          528  +	}
   523    529   } else {
   524    530   	puts stderr "Invalid action"
   525    531   
   526    532   	exit 1
   527    533   }
   528    534   
   529    535   exit 0
   530    536