Output stack trace for unknown errors
Raise NotInstalledAsServiceError correctly