tern: fix version metrics on this branch too
tern: report errors as metrics