Skip to content

Poor error message when auth is not initialized #218

Description

@coryan

Running without any auth available generates errors like these:

env GOOGLE_CLOUD_PROJECT=${P_ID} GOOGLE_CLOUD_SWIFT_TEST_SERVICE_ACCOUNT=swift-sdk-test@${P_ID}.iam.gserviceaccount.com swift test --traits IntegrationTests

### logging() error=unimplemented
✘ Test longRunningOperations() recorded an issue at Driver.swift:35:6: Caught error: unimplemented

That is a very poor error message, we should do better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions