Right now if templating fails an error is printed on STDOUT via fmt.printf, but there's no way to surface that to the caller of the function. This will also require changes to sendMessage to catch the error.