Currently the functionpdb currently throws the error with a :kind key, but tk cli-app is looking for :type, and in released versions, will actually throwerrors that trapperkeeper won't recognize. This was originally noticed when a completely unrelated missing config subname caused pdb to exit with a mysterious keyword? :pre check error exception that was actually being thrown by a tk function precondition (looks like newer versions havesince adjusted that code in tk master).
In any case, pdb should throw tk expects :cli-error to be the exception data :type not :kind here, and is looking for :message, not :msg: https://github.com/puppetlabs/trapperkeeper/blob/master/src/puppetlabs/trapperkeeper/core.clj#L179
(Will need to be fixedFix this on all the relevant branches.)
pdb currently throws cli-errors that trapperkeeper won't recognize. This was originally noticed when a missing config subname caused pdb to exit with a mysterious keyword? exception that was actually being thrown by a tk function precondition (since adjusted in tk master). I saw this myself, and also believe it's the underlying problem here: PDB-3500
pdb currently throws cli-errors that trapperkeeper won't recognize. This was originally noticed when a missing config subname caused pdb to exit with a mysterious keyword? exception that was actually being thrown by a tk function precondition (since adjusted in tk master). I saw this myself, and also believe it's the underlying problem here: PDB-3500