kopia lustrzana https://github.com/bugout-dev/moonstream
Renamed env variable for crash reports token
rodzic
8d16c68a10
commit
c34f9245c0
|
@ -3,7 +3,7 @@ import uuid
|
||||||
from humbug.consent import HumbugConsent
|
from humbug.consent import HumbugConsent
|
||||||
from humbug.report import HumbugReporter
|
from humbug.report import HumbugReporter
|
||||||
|
|
||||||
from .settings import BUGOUT_HUMBUG_TOKEN
|
from .settings import HUMBUG_REPORTER_BACKEND_TOKEN
|
||||||
|
|
||||||
session_id = str(uuid.uuid4())
|
session_id = str(uuid.uuid4())
|
||||||
client_id = "moonstream-backend"
|
client_id = "moonstream-backend"
|
||||||
|
@ -13,6 +13,6 @@ reporter = HumbugReporter(
|
||||||
consent=HumbugConsent(True),
|
consent=HumbugConsent(True),
|
||||||
client_id=client_id,
|
client_id=client_id,
|
||||||
session_id=session_id,
|
session_id=session_id,
|
||||||
bugout_token=BUGOUT_HUMBUG_TOKEN,
|
bugout_token=HUMBUG_REPORTER_BACKEND_TOKEN,
|
||||||
tags=[],
|
tags=[],
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,7 +9,7 @@ bugout_client = Bugout(brood_api_url=BUGOUT_BROOD_URL, spire_api_url=BUGOUT_SPIR
|
||||||
|
|
||||||
BUGOUT_REQUEST_TIMEOUT_SECONDS = 5
|
BUGOUT_REQUEST_TIMEOUT_SECONDS = 5
|
||||||
|
|
||||||
BUGOUT_HUMBUG_TOKEN = os.environ.get("BUGOUT_HUMBUG_TOKEN")
|
HUMBUG_REPORTER_BACKEND_TOKEN = os.environ.get("HUMBUG_REPORTER_BACKEND_TOKEN")
|
||||||
|
|
||||||
# Default value is "" instead of None so that mypy understands that MOONSTREAM_APPLICATION_ID is a string
|
# Default value is "" instead of None so that mypy understands that MOONSTREAM_APPLICATION_ID is a string
|
||||||
MOONSTREAM_APPLICATION_ID = os.environ.get("MOONSTREAM_APPLICATION_ID", "")
|
MOONSTREAM_APPLICATION_ID = os.environ.get("MOONSTREAM_APPLICATION_ID", "")
|
||||||
|
|
|
@ -8,4 +8,4 @@ export MOONSTREAM_ADMIN_ACCESS_TOKEN="<Access token to application resources>"
|
||||||
export AWS_S3_SMARTCONTRACT_BUCKET="<AWS S3 bucket to store smart contracts>"
|
export AWS_S3_SMARTCONTRACT_BUCKET="<AWS S3 bucket to store smart contracts>"
|
||||||
export BUGOUT_BROOD_URL="https://auth.bugout.dev"
|
export BUGOUT_BROOD_URL="https://auth.bugout.dev"
|
||||||
export BUGOUT_SPIRE_URL="https://spire.bugout.dev"
|
export BUGOUT_SPIRE_URL="https://spire.bugout.dev"
|
||||||
export BUGOUT_HUMBUG_TOKEN="<Bugout Humbug token for crash reports>"
|
export HUMBUG_REPORTER_BACKEND_TOKEN="<Bugout Humbug token for crash reports>"
|
||||||
|
|
Ładowanie…
Reference in New Issue