Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Jul 4, 2017
1 parent 253367c commit 1a973a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbatools.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
RootModule = 'dbatools.psm1'

# Version number of this module.
ModuleVersion = '0.8.959'
ModuleVersion = '0.8.960'

# ID used to uniquely identify this module
GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789'
Expand Down
6 changes: 3 additions & 3 deletions functions/Copy-DbaSysDbUserObject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function Copy-DbaSysDbUserObject {
$transfer.Options.Permissions = $true
$transfer.Options.WithDependencies = $false

Write-Message -Level Warning -Message "Copying from $systemDb"
Write-Message -Level Output -Message "Copying from $systemDb"
try {
$sqlQueries = $transfer.ScriptTransfer()

Expand All @@ -124,13 +124,13 @@ function Copy-DbaSysDbUserObject {
$destServer.Query($sql,$systemDb)
}
catch {
Stop-Function -Message "Issue creating object on destination" -Target $systemDb -ErrorRecord $_
# Don't care - long story having to do with duplicate stuff
}
}
}
}
catch {
Stop-Function -Message "Issue occurred" -Target $systemDb -ErrorRecord $_
# Don't care - long story having to do with duplicate stuff
}
}
}
Expand Down

0 comments on commit 1a973a3

Please sign in to comment.