diff options
| author | 2023-09-21 12:54:27 +0000 | |
|---|---|---|
| committer | 2023-09-21 12:54:27 +0000 | |
| commit | 42592cc89868349bb59bdf0c32cfb64b4b995584 (patch) | |
| tree | 9d11437b249f87598a68e472f21bfedcadbb48cb /api/api.go | |
| parent | 0283bc86e7ed879a8aed5addaf4a344aea961649 (diff) | |
Catch NPE when reportInstallationToSecurityLog
The scan result is null for installExistingPackageAsUser(), becuse
it is installing a package that already exists, there is no scanning
or parsing involved.
Like reportInstallationStats, we also catch the exception temporary
here. There is a follow up bug to handle it correctly.
Bug: 301397206
Test: manual.
Change-Id: Ie846264d2bc1cd300d67d5cf69e41b710716fa54
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions