Enable feature telemetry

This commit is contained in:
James Cole
2020-05-24 12:12:06 +02:00
parent 86a87cc951
commit b8668b44a0
45 changed files with 54 additions and 54 deletions

View File

@@ -128,7 +128,7 @@ class CreateCSVImport extends Command
} catch (FireflyException $e) {
$this->errorLine($e->getMessage());
// app('telemetry')->feature('executed-command-with-error', $this->signature);
app('telemetry')->feature('system.command.errored', $this->signature);
return 1;
}
@@ -138,7 +138,7 @@ class CreateCSVImport extends Command
} catch (FireflyException $e) {
$this->errorLine($e->getMessage());
// app('telemetry')->feature('executed-command-with-error', $this->signature);
app('telemetry')->feature('system.command.errored', $this->signature);
return 1;
}
@@ -148,7 +148,7 @@ class CreateCSVImport extends Command
// clear cache for user:
app('preferences')->setForUser($user, 'lastActivity', microtime());
// app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.command.executed', $this->signature);
return 0;
}