Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error message more clear #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/EvernoteSDK/Advanced/ENSDKAdvanced.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ENSessionAdvanced : ENSession
{
if (ENSessionInterfaceType == InterfaceType.Basic)
{
var err = "Attempting to use the Advanced interface without first having called ENSessionAdvanced.SetSharedSessionConsumerKey";
var err = "Attempting to use the Advanced interface without first having called ENSessionAdvanced.SetSharedSessionConsumerKey or ENSessionAdvanced.SetSharedSessionDeveloperToken";
ENSDKLogger.ENSDKLogError(err);
throw new Exception(err);
}
Expand Down Expand Up @@ -273,7 +273,7 @@ public ENNoteAdvanced(Note edamNote) : base(edamNote)
}

///**
//* A property indicating the "source" URL for this note. Optional, and useful mainly in contexts where the
//* A property indicating the "source" URL for this note. Optional, and useful mainly in contexts where the
//* note is captured from web content.
//*/
new public string SourceUrl
Expand All @@ -291,7 +291,7 @@ public ENNoteAdvanced(Note edamNote) : base(edamNote)
///**
//* An optional dictionary of attributes which are used at upload time only to apply to an EDAMNote's attributes during
//* its creation. The keys in the dictionary should be valid keys in an EDAMNoteAttributes, e.g. "author", or "sourceApplication";
//* the values are the objects to apply.
//* the values are the objects to apply.
//*
//* Note that downloaded notes do not populate this dictionary; if you need to inspect properties of an EDAMNote that aren't
//* represented by ENNote, you should use ENNoteStoreClient's -getNoteWithGuid... method to download the EDAMNote directly.
Expand Down