mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-12 08:57:30 +00:00
chore: sentry.io dsn
This commit is contained in:
parent
5b134219fa
commit
35d1d2dde8
12 changed files with 24 additions and 24 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<!-- see the events from this app in sentry.keyman.com dashboard -->
|
||||
<meta-data
|
||||
android:name="io.sentry.dsn" android:value="https://2f067e5571a74974b9e210ca76ca9607@sentry.keyman.com/7" />
|
||||
android:name="io.sentry.dsn" android:value="https://2f067e5571a74974b9e210ca76ca9607@o1005580.ingest.sentry.io/5983520" />
|
||||
<!-- how to enable Sentry's debug mode-->
|
||||
<meta-data
|
||||
android:name="io.sentry.debug" android:value="true" />
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ namespace com.keyman {
|
|||
beforeSend: this.prepareEventDebugWrapper.bind(this),
|
||||
// Not using beforeBreadcrumb because that caused breadcrumbs to get lost in Sentry
|
||||
debug: DEBUG,
|
||||
dsn: 'https://cf96f32d107c4286ab2fd82af49c4d3b@sentry.keyman.com/11', // keyman-web DSN
|
||||
dsn: 'https://cf96f32d107c4286ab2fd82af49c4d3b@o1005580.ingest.sentry.io/5983524', // keyman-web DSN
|
||||
release: com.keyman.environment.SENTRY_RELEASE,
|
||||
environment: com.keyman.environment.ENVIRONMENT
|
||||
});
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public class SentryManager {
|
|||
let release = "release-\(versionWithTag)"
|
||||
|
||||
let options: [String: Any] = [
|
||||
"dsn": "https://d14d2efb594e4345b8367dbb61ebceaf@sentry.keyman.com/8",
|
||||
"dsn": "https://d14d2efb594e4345b8367dbb61ebceaf@o1005580.ingest.sentry.io/5983521",
|
||||
"enabled": allowEnabled && sendingEnabled,
|
||||
"environment": environment,
|
||||
"release": release
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ else:
|
|||
level=logging.INFO, # Capture info and above as breadcrumbs
|
||||
event_level=logging.CRITICAL # Send critical errors as events
|
||||
)
|
||||
SentryUrl = "https://1d0edbf2d0dc411b87119b6e92e2c357@sentry.keyman.com/12"
|
||||
SentryUrl = "https://1d0edbf2d0dc411b87119b6e92e2c357@o1005580.ingest.sentry.io/5983525"
|
||||
sentry_sdk.init(
|
||||
dsn=SentryUrl,
|
||||
environment=__environment__,
|
||||
|
|
@ -78,7 +78,7 @@ else:
|
|||
from raven import Client
|
||||
HaveSentryNewSdk = False
|
||||
|
||||
SentryUrl = "https://1d0edbf2d0dc411b87119b6e92e2c357:e6d5a81ee6944fc79bd9f0cbb1f2c2a4@sentry.keyman.com/12"
|
||||
SentryUrl = "https://1d0edbf2d0dc411b87119b6e92e2c357@o1005580.ingest.sentry.io/5983525"
|
||||
client = Client(SentryUrl, environment=__environment__, release=__version__)
|
||||
client.user_context({'id': hash(getpass.getuser())})
|
||||
client.tags_context({
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ NSString* _keymanDataPath = nil;
|
|||
|
||||
- (KeymanVersionInfo)versionInfo {
|
||||
KeymanVersionInfo result;
|
||||
// Get version information from Info.plist, which is filled in
|
||||
// Get version information from Info.plist, which is filled in
|
||||
// by build.sh.
|
||||
NSDictionary *keymanInfo =[[[NSBundle mainBundle] infoDictionary] objectForKey:@"Keyman"];
|
||||
result.sentryEnvironment = [keymanInfo objectForKey:@"SentryEnvironment"];
|
||||
|
|
@ -127,7 +127,7 @@ NSString* _keymanDataPath = nil;
|
|||
result.keymanCom = @"keyman.com";
|
||||
result.helpKeymanCom = @"help.keyman.com";
|
||||
result.apiKeymanCom = @"api.keyman.com";
|
||||
}
|
||||
}
|
||||
else {
|
||||
result.keymanCom = @"keyman-staging.com";
|
||||
result.helpKeymanCom = @"help.keyman-staging.com";
|
||||
|
|
@ -141,14 +141,14 @@ NSString* _keymanDataPath = nil;
|
|||
|
||||
KeymanVersionInfo keymanVersionInfo = [self versionInfo];
|
||||
NSString *releaseName = [NSString stringWithFormat:@"release-%@", keymanVersionInfo.versionWithTag];
|
||||
|
||||
|
||||
[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
|
||||
options.dsn = @"https://960f8b8e574c46e3be385d60ce8e1fea@sentry.keyman.com/9";
|
||||
options.dsn = @"https://960f8b8e574c46e3be385d60ce8e1fea@o1005580.ingest.sentry.io/5983522";
|
||||
options.releaseName = releaseName;
|
||||
options.environment = keymanVersionInfo.sentryEnvironment;
|
||||
// options.debug = @YES;
|
||||
// options.debug = @YES;
|
||||
}];
|
||||
|
||||
|
||||
// [SentrySDK captureMessage:@"Starting Keyman [test message]"];
|
||||
}
|
||||
|
||||
|
|
@ -483,7 +483,7 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef
|
|||
/**
|
||||
* Returns the list of user-default legacy apps
|
||||
*/
|
||||
- (NSArray *)legacyAppsUserDefaults {
|
||||
- (NSArray *)legacyAppsUserDefaults {
|
||||
NSUserDefaults *userData = [NSUserDefaults standardUserDefaults];
|
||||
return [userData arrayForKey:kKMLegacyApps];
|
||||
}
|
||||
|
|
@ -857,7 +857,7 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef
|
|||
[self.activeKeyboards removeObjectAtIndex:n];
|
||||
found = TRUE;
|
||||
} else {
|
||||
i++;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1113,12 +1113,12 @@ CGEventRef eventTapFunction(CGEventTapProxy proxy, CGEventType type, CGEventRef
|
|||
return _downloadKBWindow;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Release windows after closing -- no need to keep them hanging about
|
||||
*/
|
||||
|
||||
- (void)observeCloseFor:(NSWindow *)window {
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(windowWillClose:)
|
||||
name:NSWindowWillCloseNotification
|
||||
object:window];
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<!-- see the events from this app in sentry.keyman.com dashboard -->
|
||||
<meta-data
|
||||
android:name="io.sentry.dsn" android:value="https://8236f0bffdce42a69b81821a5ba41117@sentry.keyman.com/21"/>
|
||||
android:name="io.sentry.dsn" android:value="https://8236f0bffdce42a69b81821a5ba41117@o1005580.ingest.sentry.io/5983532"/>
|
||||
<!-- how to enable Sentry's debug mode -->
|
||||
<meta-data
|
||||
android:name="io.sentry.debug" android:value="true" />
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
//
|
||||
|
||||
Sentry.init({
|
||||
dsn: 'https://92eb58e6005d47daa33c9c9e39458eb7@sentry.keyman.com/5', // Keyman for Windows
|
||||
dsn: 'https://92eb58e6005d47daa33c9c9e39458eb7@o1005580.ingest.sentry.io/5983518', // Keyman for Windows
|
||||
environment: '$Environment',
|
||||
release: 'release-$VersionWithTag'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
//
|
||||
|
||||
Sentry.init({
|
||||
dsn: 'https://92eb58e6005d47daa33c9c9e39458eb7@sentry.keyman.com/5', // Keyman for Windows
|
||||
dsn: 'https://92eb58e6005d47daa33c9c9e39458eb7@o1005580.ingest.sentry.io/5983518', // Keyman for Windows
|
||||
environment: '$Environment',
|
||||
release: 'release-$VersionWithTag'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
//
|
||||
|
||||
Sentry.init({
|
||||
dsn: 'https://39b25a09410349a58fe12aaf721565af@sentry.keyman.com/6', // Keyman Developer
|
||||
dsn: 'https://39b25a09410349a58fe12aaf721565af@o1005580.ingest.sentry.io/5983519', // Keyman Developer
|
||||
environment: '$Environment',
|
||||
release: 'release-$VersionWithTag'
|
||||
});
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ var
|
|||
o: TSentryClientOptions;
|
||||
begin
|
||||
o.Debug := False;
|
||||
o.DSN := 'https://92eb58e6005d47daa33c9c9e39458eb7@sentry.keyman.com/5';
|
||||
o.DSN := 'https://92eb58e6005d47daa33c9c9e39458eb7@o1005580.ingest.sentry.io/5983518';
|
||||
//o.DSN := 'https://7b1ff1dae2c8495b84f90dadcf512b84@sentry.io/4853461';
|
||||
o.Release := 'keyman-14.0.22-alpha-local';
|
||||
o.HandlerPath := 'c:\Projects\keyman\app\windows\src\ext\sentry\test\Win32\Release\crashpad_handler.exe';
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ uses
|
|||
utilexecute;
|
||||
|
||||
const
|
||||
SENTRY_DSN_DESKTOP = 'https://92eb58e6005d47daa33c9c9e39458eb7@sentry.keyman.com/5';
|
||||
SENTRY_DSN_DEVELOPER = 'https://39b25a09410349a58fe12aaf721565af@sentry.keyman.com/6';
|
||||
SENTRY_DSN_DESKTOP = 'https://92eb58e6005d47daa33c9c9e39458eb7@o1005580.ingest.sentry.io/5983518';
|
||||
SENTRY_DSN_DEVELOPER = 'https://39b25a09410349a58fe12aaf721565af@o1005580.ingest.sentry.io/5983519';
|
||||
|
||||
SENTRY_PROJECT_NAME_DESKTOP = 'keyman-windows';
|
||||
SENTRY_PROJECT_NAME_DEVELOPER = 'keyman-developer';
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#include <shlobj.h>
|
||||
#include <KnownFolders.h>
|
||||
|
||||
#define SENTRY_DSN_DESKTOP "https://92eb58e6005d47daa33c9c9e39458eb7@sentry.keyman.com/5"
|
||||
#define SENTRY_DSN_DEVELOPER "https://39b25a09410349a58fe12aaf721565af@sentry.keyman.com/6"
|
||||
#define SENTRY_DSN_DESKTOP "https://92eb58e6005d47daa33c9c9e39458eb7@o1005580.ingest.sentry.io/5983518"
|
||||
#define SENTRY_DSN_DEVELOPER "https://39b25a09410349a58fe12aaf721565af@o1005580.ingest.sentry.io/5983519"
|
||||
//#define SENTRY_DSN_DEVELOPER "https://7b1ff1dae2c8495b84f90dadcf512b84@sentry.io/4853461" // testing only
|
||||
|
||||
bool g_report_exceptions, g_report_messages;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue